package com.baturu.vin.honda.cleanData;

public class IntWrapper {

    volatile int count = 0;

    public IntWrapper() {
    }

    public IntWrapper(int count) {
        this.count = count;
    }

    public synchronized int getCount() {
        return count;
    }

    public synchronized void setCount(int count) {
        this.count = count;
    }

    public synchronized void countAdd() {
        count++;
    }

    public synchronized void countDown() {
        count--;
    }

}
